<div id="tab-wrapper">
	<div id="inventory-menu">
		<h3>Manage the inventory</h3>
		<hr>
		<div id="categories" class="box-button">
			<p>Manage Categories</p>
		</div>

		<div id="products" class="box-button">Manage Products</div>

		<div id="attributes" class="box-button">Manage Product Types</div>
	</div>
	<div id="inventory-content"></div>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$('div.box-button').click(function(e){
		obj=$(this);
		console.log(obj);
		$('#inventory-content').load("<?php print base_url(); ?>getdata/products/" + obj.attr('id'));
		
		$('#inventory-menu').hide();
	});
});
</script>
